package com.justgame.project.service.api.entity;

import com.justgame.project.cloud.common.entity.BaseEntity;
import com.justgame.project.cloud.common.constant.Const;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Null;

@Data
@EqualsAndHashCode(callSuper = true)
public class JustGameType extends BaseEntity {
    private final static long serialVersionUID = Const.V;

    /**
     * 中文分类名称
     */
    @NotBlank
    @Length(max = 100)
    private String chineseName;

    /**
     * 英文分类名称
     */
    @Length(max = 100)
    private String englishName;

    /**
     * 图片地址
     */
    @Length(max = 255)
    private String logoType;

    /**
     * 描述
     */
    @Length(max = 500)
    private String desc;

    /**
     * 状态(0停用 1启用)
     */
    @Null
    private Integer status;

}
